<?php
$num_post		= 2; 
$post_type		= 'partner'; 
$orderby		= 'date'; 
$order			= 'DESC'; 
$meta_key		= $wpdb->prefix.'display'; 
$meta_value		= 'display';

$args = db_query_all_post_in_post_type($num_post, $post_type, $orderby, $order, $meta_key, $meta_value);
query_posts($args);

require_once TEMPLATEPATH.'/views/partner/view-partner.php';